<table ms-if="@goods.length!==0&&!@isShowPackageDrawDetail" id="reportTable" class="table table-hover table-bordered table-condensed">
  <thead>
    <tr>
      <th>科室名称</th>
      <th>物品代码</th>
      <th>物品名称</th>
      <th>折零单位</th>
      <th>单价</th>
      <th>数量</th>
      <th>金额</th>
      <th>明细</th>
    </tr>
  </thead>
  <tbody>
    <!--ms-for: ($index,el) in @goods-->
    <tr ms-class="[(el.isGoodsBookSumTr?'goodsbooksumtr-color':''),(el.isAllSumTr?'allsumtr-color':'')]">
      <td>{{el.DeptName | showValue($index,'DeptName')}}</td>
      <td>{{el.PackageCode}}</td>
      <td>{{el.PackageName}}</td>
      <td>{{el.Unit}}</td>
      <td>{{el.Price}}</td>
      <td>{{el.Counts}}</td>
      <td>{{el.Amount}}</td>
      <td><a href="javascript:;" ms-if="!el.isGoodsBookSumTr&&!el.isAllSumTr" ms-click="@showPackageDrawDetail($index)">详细信息</a></td>
    </tr>
    <!--ms-for-end:-->
  </tbody>
</table>